<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 //EN">

<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>Minesweeper v1.0</TITLE>

<STYLE>

body {
  margin: 0;
  padding: 0;
  font-family: Arial;
  font-size: 12px;
  color: #FFFFFF;
  background: #000000;
}

.div-game {
  margin: 5% auto;
  width: 480px;
  height: 420px;
}
.div-score {
  position: relative;
  top: 0px;
  left: 0px;
  height: 30px;
  color: #000000;
  background: #C0C0C0;
  border-top: 1px solid #FFFFFF;
  border-right: 1px solid #FFFFFF;
}
.img-mines, .div-mines, .img-time, .img-smiley, .div-time, .lb-level, .bn-reset {
  position: absolute;
}
.img-mines {
  top: 6px;
  left: 10px;
}
.div-mines {
  top: 6px;
  left: 30px;
  width: 40px;
  font-family: Verdana;
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  color: #0000CF;
  background: transparent;
}
.img-time {
  top: 6px;
  left: 80px;
}
.div-time {
  top: 6px;
  left: 100px;
  width: 60px;
  font-family: Verdana;
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  color: #007F00;
  background: transparent;
}
.img-smiley {
  top: 6px;
  left: 240px;
}
.lb-level {
  top: 4px;
  left: 330px;
  width: 80px;
  font-family: Arial;
  font-size: 12px;
}
.bn-reset {
  top: 3px;
  left: 420px;
  width: 50px;
  font-family: Arial;
  font-size: 12px;
  text-align: center;
}
.div-board {
  position: relative;
  width: 480px;
  height: 320px;
  color: #000000;
  background: #7F7F7F;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #FFFFFF;
  border-left: 1px solid #FFFFFF;
}

.cell {
  position: absolute;
  overflow: hidden;
}

.div-adsense {
  position: relative;
  width: 100%;
  height: 60px;
  text-align: center;
}

.div-addfreestats {
  position: absolute;
  left: 0px;
  top: 0px;
  display: none; 
}

</STYLE></HEAD><BODY>
<DIV id="div-game" class="div-game">
<DIV id="div-score" class="div-score">
<IMG id="img-mines" class="img-mines" src="./Minesweeper v1.0_files/mines.png">
<DIV id="div-mines" class="div-mines">7</DIV>
<IMG id="img-time" class="img-time" src="./Minesweeper v1.0_files/clock.png">
<DIV id="div-time" class="div-time">03:59</DIV>
<IMG id="img-smiley" class="img-smiley" style="visibility: hidden; " src="./Minesweeper v1.0_files/sad.png">
<SELECT id="lb-level" class="lb-level" onchange="game.restart()" name="bn-reset">
<OPTION selected="" value="easy">Easy</OPTION>
<OPTION value="normal">Normal</OPTION>
<OPTION value="advanced">Advanced</OPTION>
<OPTION value="hard">Hard</OPTION>
<OPTION value="expert">Expert</OPTION>
</SELECT>
<INPUT id="bn-reset" type="button" class="bn-reset" onclick="game.restart()" value="Play!" name="bn-reset">
</DIV>
<DIV id="div-board" class="div-board">
<IMG id="cell0" class="cell" style="width: 16px; height: 16px; top: 90px; left: 175px; " 
src="./Minesweeper v1.0_files/1.png">
<IMG id="cell1" class="cell" style="width: 16px; height: 16px; top: 90px; left: 190px; " 
src="./Minesweeper v1.0_files/1.png">
<IMG id="cell2" class="cell" style="width: 16px; height: 16px; top: 90px; left: 205px; "
 src="./Minesweeper v1.0_files/0.png">
 <IMG id="cell3" class="cell" style="width: 16px; height: 16px; top: 90px; left: 220px; " 
 src="./Minesweeper v1.0_files/1.png">
 <IMG id="cell4" class="cell" style="width: 16px; height: 16px; top: 90px; left: 235px; " 
 src="./Minesweeper v1.0_files/flag.png">
 <IMG id="cell5" class="cell" style="width: 16px; height: 16px; top: 90px; left: 250px; "
  src="./Minesweeper v1.0_files/1.png">
  <IMG id="cell6" class="cell" style="width: 16px; height: 16px; top: 90px; left: 265px; " 
  src="./Minesweeper v1.0_files/0.png"><IMG id="cell7" class="cell" style="width: 16px; height: 16px; top: 90px; left: 280px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell8" class="cell" style="width: 16px; height: 16px; top: 90px; left: 295px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell9" class="cell" style="width: 16px; height: 16px; top: 90px; left: 310px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell10" class="cell" style="width: 16px; height: 16px; top: 105px; left: 175px; " src="./Minesweeper v1.0_files/flag.png"><IMG id="cell11" class="cell" style="width: 16px; height: 16px; top: 105px; left: 190px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell12" class="cell" style="width: 16px; height: 16px; top: 105px; left: 205px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell13" class="cell" style="width: 16px; height: 16px; top: 105px; left: 220px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell14" class="cell" style="width: 16px; height: 16px; top: 105px; left: 235px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell15" class="cell" style="width: 16px; height: 16px; top: 105px; left: 250px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell16" class="cell" style="width: 16px; height: 16px; top: 105px; left: 265px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell17" class="cell" style="width: 16px; height: 16px; top: 105px; left: 280px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell18" class="cell" style="width: 16px; height: 16px; top: 105px; left: 295px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell19" class="cell" style="width: 16px; height: 16px; top: 105px; left: 310px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell20" class="cell" style="width: 16px; height: 16px; top: 120px; left: 175px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell21" class="cell" style="width: 16px; height: 16px; top: 120px; left: 190px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell22" class="cell" style="width: 16px; height: 16px; top: 120px; left: 205px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell23" class="cell" style="width: 16px; height: 16px; top: 120px; left: 220px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell24" class="cell" style="width: 16px; height: 16px; top: 120px; left: 235px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell25" class="cell" style="width: 16px; height: 16px; top: 120px; left: 250px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell26" class="cell" style="width: 16px; height: 16px; top: 120px; left: 265px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell27" class="cell" style="width: 16px; height: 16px; top: 120px; left: 280px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell28" class="cell" style="width: 16px; height: 16px; top: 120px; left: 295px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell29" class="cell" style="width: 16px; height: 16px; top: 120px; left: 310px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell30" class="cell" style="width: 16px; height: 16px; top: 135px; left: 175px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell31" class="cell" style="width: 16px; height: 16px; top: 135px; left: 190px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell32" class="cell" style="width: 16px; height: 16px; top: 135px; left: 205px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell33" class="cell" style="width: 16px; height: 16px; top: 135px; left: 220px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell34" class="cell" style="width: 16px; height: 16px; top: 135px; left: 235px; " src="./Minesweeper v1.0_files/flag.png"><IMG id="cell35" class="cell" style="width: 16px; height: 16px; top: 135px; left: 250px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell36" class="cell" style="width: 16px; height: 16px; top: 135px; left: 265px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell37" class="cell" style="width: 16px; height: 16px; top: 135px; left: 280px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell38" class="cell" style="width: 16px; height: 16px; top: 135px; left: 295px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell39" class="cell" style="width: 16px; height: 16px; top: 135px; left: 310px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell40" class="cell" style="width: 16px; height: 16px; top: 150px; left: 175px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell41" class="cell" style="width: 16px; height: 16px; top: 150px; left: 190px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell42" class="cell" style="width: 16px; height: 16px; top: 150px; left: 205px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell43" class="cell" style="width: 16px; height: 16px; top: 150px; left: 220px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell44" class="cell" style="width: 16px; height: 16px; top: 150px; left: 235px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell45" class="cell" style="width: 16px; height: 16px; top: 150px; left: 250px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell46" class="cell" style="width: 16px; height: 16px; top: 150px; left: 265px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell47" class="cell" style="width: 16px; height: 16px; top: 150px; left: 280px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell48" class="cell" style="width: 16px; height: 16px; top: 150px; left: 295px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell49" class="cell" style="width: 16px; height: 16px; top: 150px; left: 310px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell50" class="cell" style="width: 16px; height: 16px; top: 165px; left: 175px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell51" class="cell" style="width: 16px; height: 16px; top: 165px; left: 190px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell52" class="cell" style="width: 16px; height: 16px; top: 165px; left: 205px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell53" class="cell" style="width: 16px; height: 16px; top: 165px; left: 220px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell54" class="cell" style="width: 16px; height: 16px; top: 165px; left: 235px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell55" class="cell" style="width: 16px; height: 16px; top: 165px; left: 250px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell56" class="cell" style="width: 16px; height: 16px; top: 165px; left: 265px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell57" class="cell" style="width: 16px; height: 16px; top: 165px; left: 280px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell58" class="cell" style="width: 16px; height: 16px; top: 165px; left: 295px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell59" class="cell" style="width: 16px; height: 16px; top: 165px; left: 310px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell60" class="cell" style="width: 16px; height: 16px; top: 180px; left: 175px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell61" class="cell" style="width: 16px; height: 16px; top: 180px; left: 190px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell62" class="cell" style="width: 16px; height: 16px; top: 180px; left: 205px; " src="./Minesweeper v1.0_files/3.png"><IMG id="cell63" class="cell" style="width: 16px; height: 16px; top: 180px; left: 220px; " src="./Minesweeper v1.0_files/2.png"><IMG id="cell64" class="cell" style="width: 16px; height: 16px; top: 180px; left: 235px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell65" class="cell" style="width: 16px; height: 16px; top: 180px; left: 250px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell66" class="cell" style="width: 16px; height: 16px; top: 180px; left: 265px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell67" class="cell" style="width: 16px; height: 16px; top: 180px; left: 280px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell68" class="cell" style="width: 16px; height: 16px; top: 180px; left: 295px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell69" class="cell" style="width: 16px; height: 16px; top: 180px; left: 310px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell70" class="cell" style="width: 16px; height: 16px; top: 195px; left: 175px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell71" class="cell" style="width: 16px; height: 16px; top: 195px; left: 190px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell72" class="cell" style="width: 16px; height: 16px; top: 195px; left: 205px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell73" class="cell" style="width: 16px; height: 16px; top: 195px; left: 220px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell74" class="cell" style="width: 16px; height: 16px; top: 195px; left: 235px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell75" class="cell" style="width: 16px; height: 16px; top: 195px; left: 250px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell76" class="cell" style="width: 16px; height: 16px; top: 195px; left: 265px; " src="./Minesweeper v1.0_files/2.png"><IMG id="cell77" class="cell" style="width: 16px; height: 16px; top: 195px; left: 280px; " src="./Minesweeper v1.0_files/2.png"><IMG id="cell78" class="cell" style="width: 16px; height: 16px; top: 195px; left: 295px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell79" class="cell" style="width: 16px; height: 16px; top: 195px; left: 310px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell80" class="cell" style="width: 16px; height: 16px; top: 210px; left: 175px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell81" class="cell" style="width: 16px; height: 16px; top: 210px; left: 190px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell82" class="cell" style="width: 16px; height: 16px; top: 210px; left: 205px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell83" class="cell" style="width: 16px; height: 16px; top: 210px; left: 220px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell84" class="cell" style="width: 16px; height: 16px; top: 210px; left: 235px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell85" class="cell" style="width: 16px; height: 16px; top: 210px; left: 250px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell86" class="cell" style="width: 16px; height: 16px; top: 210px; left: 265px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell87" class="cell" style="width: 16px; height: 16px; top: 210px; left: 280px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell88" class="cell" style="width: 16px; height: 16px; top: 210px; left: 295px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell89" class="cell" style="width: 16px; height: 16px; top: 210px; left: 310px; " src="./Minesweeper v1.0_files/0.png"><IMG id="cell90" class="cell" style="width: 16px; height: 16px; top: 225px; left: 175px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell91" class="cell" style="width: 16px; height: 16px; top: 225px; left: 190px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell92" class="cell" style="width: 16px; height: 16px; top: 225px; left: 205px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell93" class="cell" style="width: 16px; height: 16px; top: 225px; left: 220px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell94" class="cell" style="width: 16px; height: 16px; top: 225px; left: 235px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell95" class="cell" style="width: 16px; height: 16px; top: 225px; left: 250px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell96" class="cell" style="width: 16px; height: 16px; top: 225px; left: 265px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell97" class="cell" style="width: 16px; height: 16px; top: 225px; left: 280px; " src="./Minesweeper v1.0_files/up.png"><IMG id="cell98" class="cell" style="width: 16px; height: 16px; top: 225px; left: 295px; " src="./Minesweeper v1.0_files/1.png"><IMG id="cell99" class="cell" style="width: 16px; height: 16px; top: 225px; left: 310px; " src="./Minesweeper v1.0_files/0.png"></DIV>




</DIV>

<DIV id="div-addfreestats" class="div-addfreestats">
<!-- ADDFREESTATS.COM AUTOCODE V4.0 -->
<SCRIPT type="text/javascript">
<!--
var AFS_Account="00705080";
var AFS_Tracker="auto";
var AFS_Server="www7";
var AFS_Page="DetectName";
var AFS_Url="DetectUrl";
// -->
</SCRIPT>


</DIV>


<SCRIPT type="text/javascript">

//
// Game
//
function Game() {
  var self = this;

  this.board     = new Board();
  this.startTime = null;

  this.run = function() {
    self.start();
  }
  this.start = function() {
    self.hideSmiley();
    self.createBoard();
    self.registerMouse();
    self.startTimer();
    self.updateScore();
  }
  this.restart = function() {
    self.board.destroyImgs();
    self.start();
  }

  this.onMouseDown = function(e) {
    var img = getMouseObject(e);
    if ( self.board.isCell(img) ){
      if ( getMouseButton(e) == 1)
        self.onLeftClick(img.mRow, img.mCol);
      else
        self.onRightClick(img.mRow, img.mCol);
    }
    self.updateScore();
    return(false);
  }
  this.onLeftClick = function(row, col) {
    if ( self.board.isFlag(row, col) )
      return;
    if ( self.board.isMine(row, col) ) {
      self.looseGame(row, col);
      return;
    }
    self.board.flip(row, col);
    if (0 == self.board.downs)
      self.winGame();
  }
  this.onRightClick = function(row, col) {
    if ( self.board.isDown(row, col) )
      return;
    self.board.changeState(row, col);
    if (self.board.flags == self.board.mines)
      self.tryWinGame();
  }
  
  this.tryWinGame = function() {
    if ( self.board.testFlags() )
      self.winGame();
  }
  this.winGame = function() {
    self.showSmiley("happy");
    self.board.showFlags();
    self.endGame();
  }
  this.looseGame = function(row, col) {
    self.showSmiley("sad");
    self.board.showMines(row, col);
    self.endGame();
  }
  this.endGame = function() {
    self.stopTimer();
    self.unregisterMouse();
  }

  this.updateScore = function() {
    document.getElementById("div-mines").innerHTML = String(self.board.mines - self.board.flags);
  }
  
  this.showSmiley = function(pic) {
    var img = document.getElementById("img-smiley");
    img.src = self.board.getImgSrc(pic);
    img.style.visibility = "visible";
  }
  this.hideSmiley = function() {
    document.getElementById("img-smiley").style.visibility = "hidden";
  }

  this.startTimer = function() {
    self.startTime = new Date().getTime();
    self.timer();
  }
  this.stopTimer = function() {
    self.startTime = null;
  }
  this.timer = function() {
    if (self.startTime) {
      var diff = Math.floor( ( new Date().getTime() - self.startTime) / 1000);
      var mins = "0" + String( Math.floor(diff / 60) );
      var secs = "0" + String(diff % 60);
      document.getElementById("div-time").innerHTML = 
		mins.substring(mins.length - 2) + ":" + secs.substring(secs.length - 2);
      setTimeout(self.timer, 1000);
    }
  }

  this.registerMouse = function() {
    self.board.div.onmousedown   = self.onMouseDown;
    self.board.div.onclick       = function(){return false;};
    self.board.div.ondblclick    = function(){return false;};
    self.board.div.oncontextmenu = function(){return false;};
  }
  this.unregisterMouse = function() {
    self.board.div.onmousedown = null;
  }
  
  this.createBoard = function() {
     switch( document.getElementById("lb-level").value ) {
       case "easy"    : self.board.create(10, 10,  10); break;
       case "normal"  : self.board.create(15, 15,  25); break;
       case "advanced": self.board.create(20, 20,  50); break;
       case "hard"    : self.board.create(20, 25, 100); break;
       case "expert"  : self.board.create(20, 30, 150); break;
     }
  }
}

//
// Board
//
function Board() {
  var self = this;

  this.div = document.getElementById("div-board");
  
  this.cells = null;  
  this.rows  = 0;
  this.cols  = 0;
  this.mines = 0;
  this.downs = 0;
  this.flags = 0;

  this.imgClass  = "cell";
  this.imgWidth  = 16;
  this.imgHeight = 16;
  this.imgURL    = "pictures/juegos/minesweeper/";
  this.imgExt    = ".png";

  this.create = function(rows, cols, mines) {
    self.cells = null;
    self.rows  = rows;
    self.cols  = cols;
    self.mines = mines;
    self.downs = (self.rows * self.cols) - self.mines;
    self.flags = 0;

    self.createCells();
    self.putMines();
    self.createImgs();
  }
  
  this.createCells = function() {
    self.cells = new Array(self.rows);
    for (var row = 0; row != self.rows; ++ row) {
      self.cells[row] = new Array(self.cols);
      for (var col = 0; col != self.cols; ++ col)
        self.cells[row][col] = new Cell();
     }
  }
  
  this.putMines = function() {
    for (var mine = 0; mine != self.mines; ++ mine)
      self.putRandMine();
  }
  this.putRandMine = function() {
    var row, col;
    do{
      row = rand(self.rows);
      col = rand(self.cols);
    }while( self.isMine(row, col) );
 
    self.putMine(row, col);
    self.roundMine(row, col);
  }
  this.putMine = function(row, col) {
    self.cells[row][col].value = 'm';
  }
  this.roundMine = function(row, col) {
    for (var r = Math.max(row - 1, 0); r <= Math.min(row + 1, self.rows - 1); ++ r)
      for (var c = Math.max(col - 1, 0); c <= Math.min(col + 1, self.cols - 1); ++ c)
        if ( self.isMine(r, c) == false)
          ++ self.cells[r][c].value;
  }

  this.createImgs = function() {
    for (var row = 0; row != self.rows; ++ row)
      for (var col = 0; col != self.cols; ++ col)
        this.createImg(row, col);
  }
  this.createImg = function(row, col) {
    var img = document.createElement("img");
    
    img.id           = self.getImgId(row, col);
    img.className    = self.imgClass;
    img.style.width  = String(self.imgWidth)  + "px";
    img.style.height = String(self.imgHeight) + "px";
    img.style.top    = String( Math.floor( ( (340 - self.imgHeight * self.rows) / 2) + (row * (self.imgHeight - 1) ) ) ) + "px";
    img.style.left   = String( Math.floor( ( (510 - self.imgWidth  * self.cols) / 2) + (col * (self.imgWidth  - 1) ) ) ) + "px";
    img.src          = self.getImgSrc("up");
    img.mRow         = row;
    img.mCol         = col;

    self.div.appendChild(img);
  }
  this.destroyImgs = function() {
    for (var row = 0; row != self.rows; ++ row)
      for (var col = 0; col != self.cols; ++ col)
        self.destroyImg(row, col);
  }
  this.destroyImg = function(row, col) {
    self.div.removeChild( document.getElementById( self.getImgId(row, col) ) );
  }

  this.flip = function(row, col) {
    if ( self.isDown(row, col) )
      return;
    if ( self.isFlag(row, col) )
      return;
    self.flipCell(row, col);
    if ( self.isHole(row, col) )
      self.roundFlip(row, col);
  }
  this.flipCell = function(row, col) {
    self.getImgElement(row, col).src = self.getImgSrc( self.cells[row][col].value );
    self.cells[row][col].state = "down";
    -- self.downs;
  }
  this.roundFlip = function(row, col) {
    var left  = (col > 0);
    var right = (col < self.cols - 1);
    if (row > 0) {
      if (left) self.flip(row - 1, col - 1);
      self.flip(row - 1, col);
      if (right) self.flip(row - 1, col + 1);
    }
    if (left) self.flip(row, col - 1);
    if (right) self.flip(row, col + 1);
    if (row < self.rows - 1) {
      if (left) self.flip(row + 1, col - 1);
      self.flip(row + 1, col);
      if (right) self.flip(row + 1, col + 1);
    }
  }

  this.changeState = function(row, col) {
    var change = self.getNextState(row, col);
    if ( ("flag" == change) && (self.flags == self.mines) )
      return;

    if ("flag" == change)
      ++ self.flags;
    if ("question" == change)
      -- self.flags;

    self.getImgElement(row, col).src = self.getImgSrc(change);
    self.cells[row][col].state = change;
  }
  this.getNextState = function(row, col) {
    switch( self.cells[row][col].state ){
      case "up"      : return("flag");
      case "flag"    : return("question");
      case "question": return("up");
    }
  }

  this.testFlags = function() {
    for (var row = 0; row != self.rows; ++ row)
      for (var col = 0; col != self.cols; ++ col)
        if ( self.isFlag(row, col) && ( self.isMine(row, col) == false ) )
          return(false);
    return(true);
  }

  this.showMines = function(rowBoom, colBoom) {
    for (var row = 0; row != self.rows; ++ row)
      for (var col = 0; col != self.cols; ++ col)
        if ( self.isMine(row, col) || self.isFlag(row, col) )
          self.showMine(row, col, rowBoom, colBoom);
  }
  this.showMine = function(row, col, rowBoom, colBoom) {
    var pic = "mine";
    if ( self.isFlag(row, col) )
       pic = self.isMine(row, col)? "flag" : "cross";
    if ( (row == rowBoom) && (col == colBoom) )
      pic = "boom";

    self.getImgElement(row, col).src = self.getImgSrc(pic);
  }
  this.showFlags = function() {
    for (var row = 0; row != self.rows; ++ row)
      for (var col = 0; col != self.cols; ++ col)
        if ( self.isMine(row, col) && ( self.isFlag(row, col) == false) ){
          self.getImgElement(row, col).src = self.getImgSrc("flag");
          ++ self.flags;
        }
  }

  this.isMine = function(row, col) {
    return( 'm' == self.cells[row][col].value );
  }
  this.isHole = function(row, col) {
    return( 0 == self.cells[row][col].value );
  }
  this.isFlag = function(row, col) {
    return( 'flag' == self.cells[row][col].state );
  }
  this.isDown = function(row, col) {
    return( 'down' == self.cells[row][col].state );
  }

  this.isCell = function(img) {
    return(img.className == self.imgClass);
  }
  this.getImgElement = function(row, col) {
    return( document.getElementById( self.getImgId(row, col) ) );
  }
  this.getImgId = function(row, col) {
    return( self.imgClass + String( (row * self.cols) + col) );
  }
  this.getImgSrc = function(pic) {
    return(  self.imgURL + pic + self.imgExt );
  }
}

//
// Cell
//
function Cell() {
  this.value = 0;
  this.state = 'up';
}

//
// Utils
//
function rand(x) {
  return( Math.floor( Math.random() * x ) );
}

function getMouseObject(e) {
  return(e? e.target: window.event.srcElement);
}
function getMouseButton(e) {
  return(e? e.which: window.event.button);
}

//
// Instance and start Game
//
var game = new Game();
game.run();

</SCRIPT>

<SCRIPT src="./Minesweeper v1.0_files/urchin.js" type="text/javascript">
</SCRIPT>
<SCRIPT type="text/javascript">
_uacct = "UA-276332-1";
urchinTracker();
</SCRIPT>


</BODY><STYLE title="__adthwart__">#A9AdsMiddleBoxTop,#A9AdsOutOfStockWidgetTop,#A9AdsServicesWidgetTop,#ADsmallWrapper,#Ad1,#Ad2,#Ad3Left,#Ad3Right,#AdBar1,#AdContainerTop,#AdHeader,#AdMiddle,#AdRectangle,#AdShowcase_F1,#AdSky23,#AdSkyscraper,#AdSponsor_SF,#AdTargetControl1_iframe,#AdText,#Ad_Block { display: none !important } #Ad_Center1,#Ad_Top,#Adbanner,#Adrectangle,#AdsContent,#AdsWrap,#AdvertMPU23b,#AdvertiseFrame,#Advertorial,#BigBoxAd,#CompanyDetailsNarrowGoogleAdsPresentationControl,#CompanyDetailsWideGoogleAdsPresentationControl,#ContentAd,#ContentAd1,#ContentAd2,#ContentAdPlaceHolder1,#ContentAdPlaceHolder2,#FP_Ad,#FooterAd,#FooterAdContainer { display: none !important } #HEADERAD,#HeaderAdsBlock,#HeroAd,#HomeAd1,#HouseAd,#Journal_Ad_125,#Journal_Ad_300,#LeftAdF1,#LeftAdF2,#PageLeaderAd,#RightSponsoredAd,#SectionAd300-250,#SidebarAdContainer,#SkyAd,#SponsoredAd,#TOP_ADROW,#TopAdPos,#VM-MPU-adspace,#VM-header-adwrap,#XEadLeaderboard { display: none !important } #XEadSkyscraper,#ad-160x600,#ad-250x300,#ad-300x250,#ad-300x250Div,#ad-728,#ad-banner,#ad-bottom,#ad-bottom-wrapper,#ad-colB-1,#ad-container,#ad-footer,#ad-footprint-160x600,#ad-front-footer,#ad-front-sponsoredlinks,#ad-halfpage,#ad-label,#ad-leaderboard,#ad-leaderboard-bottom,#ad-leaderboard-top { display: none !important } #ad-left,#ad-lrec,#ad-medium-rectangle,#ad-middlethree,#ad-middletwo,#ad-module,#ad-mpu,#ad-placard,#ad-rectangle,#ad-righttop,#ad-side-text,#ad-skyscraper,#ad-space,#ad-splash,#ad-target,#ad-target-Leaderbord,#ad-teaser,#ad-top,#ad-top-text-low,#ad-tower { display: none !important } #ad-typ1,#ad-wrap,#ad-wrap-right,#ad-wrapper1,#ad-yahoo-simple,#ad1,#ad125BL,#ad125BR,#ad125TL,#ad125TR,#ad125x125,#ad160x600,#ad160x600right,#ad1Sp,#ad2,#ad2Sp,#ad3,#ad300,#ad300-250,#ad300X250 { display: none !important } #ad300_x_250,#ad300x150,#ad300x250,#ad300x250Module,#ad300x60,#ad336,#ad375x85,#ad526x250,#ad600,#ad7,#ad728Wrapper,#ad728x90,#adB,#adBadges,#adBanner,#adBanner120x600,#adBannerTable,#adBannerTop,#adBar,#adBlock125 { display: none !important } #adBlocks,#adContainer,#adFps,#adFtofrs,#adGroup1,#adHeader,#adL,#adLB,#adMPU,#adMiddle0Frontpage,#adMiniPremiere,#adPlaceHolderRight,#adRight,#adSenseModule,#adServer_marginal,#adSidebar,#adSidebarSq,#adSky,#adSlider,#adSpace3 { display: none !important } #adSpace300_ifrMain,#adSpace4,#adSpace5,#adSpace6,#adSpace7,#adSpace_footer,#adSpace_top,#adSpecial,#adSpot-Leader,#adSpot-banner,#adSpot-mrec1,#adSpot-sponsoredlinks,#adSpot-textbox1,#adSpot-widestrip,#adSpotAdvertorial,#adSpotIsland,#adSpotSponsoredLinks,#adSquare,#adStaticA,#adStrip { display: none !important } #adSuperPremiere,#adTableCell,#adTag1,#adTag2,#adTop,#adTopboxright,#adUnit,#adWrapper,#adZoneTop,#ad_160x160,#ad_160x600,#ad_190x90,#ad_300,#ad_300x250,#ad_468_60,#ad_5,#ad_728_foot,#ad_728x90,#ad_A,#ad_B { display: none !important } #ad_Banner,#ad_C,#ad_C2,#ad_D,#ad_E,#ad_F,#ad_G,#ad_H,#ad_I,#ad_J,#ad_K,#ad_L,#ad_M,#ad_N,#ad_O,#ad_P,#ad_YieldManager-300x250,#ad_anchor,#ad_banner,#ad_banner_top { display: none !important } #ad_bar,#ad_block_1,#ad_block_2,#ad_bottom,#ad_box_colspan,#ad_branding,#ad_bs_area,#ad_center_monster,#ad_container,#ad_content_wrap,#ad_feature,#ad_footer,#ad_haha_1,#ad_haha_4,#ad_halfpage,#ad_head,#ad_header,#ad_horseshoe_left,#ad_horseshoe_right,#ad_horseshoe_spacer { display: none !important } #ad_horseshoe_top,#ad_island,#ad_label,#ad_layer2,#ad_leader,#ad_leaderBoard,#ad_leaderboard,#ad_lwr_square,#ad_medium_rectangle,#ad_medium_rectangular,#ad_middle,#ad_mpu,#ad_play_300,#ad_rect,#ad_rect_body,#ad_rect_bottom,#ad_rectangle,#ad_related_links_div,#ad_related_links_div_program,#ad_report_leaderboard { display: none !important } #ad_report_rectangle,#ad_right,#ad_right_main,#ad_ros_tower,#ad_sidebar1,#ad_sidebar2,#ad_sidebar3,#ad_skyscraper,#ad_slot_livesky,#ad_space,#ad_square,#ad_ss,#ad_top,#ad_top_holder,#ad_vertical,#ad_wrapper,#adbanner,#adbnr,#adbottom,#adbox { display: none !important } #adbox2,#adclear,#adcode1,#adcode2,#adcode3,#adcode4,#adcolumnwrapper,#adcontainer,#adcontainsm,#addiv-bottom,#addiv-top,#adframe:not(frameset),#adhead,#adhead_g,#adheader,#adiframe1_iframe,#adiframe2_iframe,#adiframe3_iframe,#adimg,#adlabel { display: none !important } #adlabelFooter,#adleaderboard,#adlinks,#adlinkws,#admid,#admiddle3center,#admiddle3left,#adposition,#adposition-C,#adposition2,#adposition3,#adposition4,#adrectanglea,#adrectangleb,#adright,#adright2,#ads,#ads-468,#ads-block,#ads-bot { display: none !important } #ads-bottom,#ads-dell,#ads-horizontal,#ads-indextext,#ads-lrec,#ads-rhs,#ads-top,#ads2,#ads300,#ads336x280,#ads7,#adsID,#ads_160,#ads_300,#ads_728,#ads_belowforumlist,#ads_belownav,#ads_bottom_outer,#ads_catDiv,#ads_right { display: none !important } #ads_sidebar_roadblock,#ads_top,#adsbottom,#adsense,#adsense-text,#adsenseWrap,#adsense_placeholder_2,#adsensetopplay,#adsonar,#adspace,#adspace-300x250,#adspace300x250,#adspaceBox,#adspaceBox300,#adspace_header,#adsright,#adstop,#adtech_takeover,#adtop,#adv-masthead { display: none !important } #adv_google_300,#adv_google_728,#adv_top_banner_wrapper,#adv_wide_banner,#advert,#advert-boomer,#advert-header,#advert-leaderboard,#advert-top,#advertBanner,#advert_250x250,#advert_box,#advert_leaderboard,#advert_lrec_format,#advert_mpu,#advertbox,#advertbox2,#advertbox3,#advertbox4,#adverthome { display: none !important } #advertise,#advertise-now,#advertisement,#advertisement160x600,#advertisement728x90,#advertisementLigatus,#advertisementPrio2,#advertiserLinks,#advertising,#advertising-skyscraper,#adwhitepaperwidget,#adwin_rec,#adwith,#adwords-4-container,#adwrapper,#adxtop,#adzoneBANNER,#agi-ad300x250,#agi-ad300x250overlay,#agi-sponsored { display: none !important } #annoying_ad,#ap_adframe,#araHealthSponsorAd,#article-box-ad,#articleAdReplacement,#articleSideAd,#article_ad,#article_box_ad,#atlasAdDivGame,#banner-ad,#banner-ads,#banner468x60,#banner728x90,#bannerAdTop,#bannerAd_ctr,#banner_ad,#banner_topad,#bannerad,#bannerad2,#bg_YieldManager-300x250 { display: none !important } #bigAd,#bigBoxAd,#bigadbox,#bigadspot,#billboard_ad,#block-ad_cube-1,#block_advert,#blox-big-ad,#blox-halfpage-ad,#blox-tile-ad,#botad,#bottom-ad-container,#bottom-ads,#bottomAd,#bottomAdSenseDiv,#bottomAds,#bottomRightAdSpace,#bottom_ad,#bottom_ad_area,#bottom_ads { display: none !important } #bottom_overture,#bottom_sponsor_ads,#bottom_sponsored_links,#bottom_text_ad,#bottomad,#box-googleadsense-1,#box-googleadsense-r,#box1ad,#boxAd300,#boxAdContainer,#boxad1,#boxad2,#boxad3,#boxad4,#boxad5,#bps-header-ad-container,#btr_horiz_ad,#button-ads-horizontal,#button-ads-vertical,#button_ad_wrap { display: none !important } #cellAd,#channel_ad,#channel_ads,#cnnRR336ad,#cnnTopAd,#colRightAd,#column4-google-ads,#commercial_ads,#common_right_lower_player_adspace,#common_right_player_adspace,#common_top_adspace,#containerLocalAds,#containerMrecAd,#content-ad-header,#contentAd,#content_ad_square,#content_ad_top,#content_ads_content,#content_box_300body_sponsoredoffers,#content_box_adright300_google { display: none !important } #contentad,#contentad_imtext,#contentad_right,#contentads,#contentinlineAd,#contextual-ads-block,#contextualad,#ctl00_MasterHolder_IBanner_adHolder,#ctl00_VBanner_adHolder,#ctl00_adFooter,#ctl00_ctl00_MainPlaceHolder_itvAdSkyscraper,#ctrlsponsored,#cubeAd,#cube_ads,#cube_ads_inner,#cubead,#cubead-2,#divAd,#divAdBox,#divWrapper_Ad { display: none !important } #div_video_ads,#dlads,#dni-header-ad,#download_ads,#ds-mpu,#evotopTen_advert,#exads,#featuread,#featuredAdContainer2,#featuredAds,#feed_links_ad_container,#first_ad_unit,#fl_hdrAd,#footer-ad,#footer-sponsored,#footerAd,#footerAdDiv,#footerAdverts,#footer_ad,#footer_ad_block { display: none !important } #footer_ads,#footer_adspace,#footer_text_ad,#footerad,#fr_ad_center,#frnContentAd,#from_our_sponsors,#front_advert,#front_mpu,#ft-ad,#ft-ad-1,#ft-ad-container,#fusionad,#fw-advertisement,#g_ad,#g_adsense,#ga_300x250,#gad,#gallery-ad-m0,#gallery_ads { display: none !important } #game-info-ad,#global_header_ad_area,#google-ad,#google-ad-art,#google-ad-tower,#google-ads,#google-ads-bottom,#google-ads-left-side,#google-adsense-mpusize,#googleAd,#googleAds,#googleAdsense,#googleAdsenseBanner,#googleAdsenseBannerBlog,#googleAdwordsModule,#googleAfcContainer,#google_ad,#google_ad_test,#google_ads,#google_ads_frame1 { display: none !important } #google_ads_test,#googlead,#googleads,#googlesponsor,#grid_ad,#gsyadrectangleload,#gsyadrightload,#gsyadtop,#gsyadtopload,#gtopadvts,#halfPageAd,#halfe-page-ad-box,#hdtv_ad_ss,#head-ad,#head_advert,#header-ad,#header-ads,#header-advert,#headerAd,#headerAdBackground { display: none !important } #headerAdContainer,#headerAdsWrapper,#headerTopAd,#header_ad,#header_advertisement_top,#header_leaderboard_ad_container,#headerad,#headeradbox,#headline_ad,#hiddenadAC,#homeTopRightAd,#home_ad,#home_spensoredlinks,#homepage-ad,#homepage_right_ad,#homepage_right_ad_container,#hometop_234x60ad,#horizontal-banner-ad,#horizontal_ad,#houseAd { display: none !important } #hp-store-ad,#icePage_SearchLinks_AdRightDiv,#icePage_SearchLinks_DownloadToolbarAdRightDiv,#inlinead,#inlinegoogleads,#inner-advert-row,#insider_ad_wrapper,#instoryad,#int-ad,#interstitial_ad_wrapper,#islandAd,#j_ad,#jmp-ad-buttons,#landing-adserver,#lateAd,#lb-sponsor-left,#lb-sponsor-right,#leader-board-ad,#leader-sponsor,#leaderAdContainer { display: none !important } #leaderad,#leaderad_section,#leaderboard-ad,#leaderboard-bottom-ad,#leaderboard_ad,#leftAdContainer,#leftAdvert,#leftSectionAd300-100,#left_ad,#left_adspace,#leftad,#leftads,#lg-banner-ad,#linkAds,#live-ad,#longAdSpace,#mBannerAd,#main-ad,#main-ad160x600,#main-ad160x600-img { display: none !important } #main-ad728x90,#mainAdUnit,#mainAdvert,#main_ad,#main_rec_ad,#mastAdvert,#mastad,#masthead_ad,#masthead_topad,#medRecAd,#media_ad,#menuAds,#mid-ad300x250,#mid-table-ad,#mid_ad_title,#mid_mpu,#middlead,#middleads,#midrect_ad,#midstrip_ad { display: none !important } #mini-ad,#module-google_ads,#module_box_ad,#most_popular_ad,#mpu,#mpu-advert,#mpuAd,#mpuDiv,#mpuWrapper,#mpuWrapperAd,#mpu_banner,#mpu_holder,#mpuad,#mrecAdContainer,#multiLinkAdContainer,#n_sponsor_ads,#natadad300x250,#navi_banner_ad_780,#nba300Ad,#new_topad { display: none !important } #noresultsads,#northad,#oanda_ads,#onespot-ads,#p-googleadsense,#page-header-ad,#page_content_top_ad,#pcworldAdBottom,#pcworldAdTop,#pinball_ad,#player_ad,#portlet-advertisement-left,#portlet-advertisement-right,#post5_adbox,#priceGrabberAd,#product-adsense,#promo-ad,#promoAds,#ps-vertical-ads,#pub468x60 { display: none !important } #publicidad,#r1SoftAd,#rail_ad1,#rail_ad2,#realEstateAds,#rect_ad,#rectangle-ad,#rectangle_ad,#refine-300-ad,#region-top-ad,#rh-ad-container,#rh_tower_ad,#right-ad,#rightAd,#rightAd300x250,#rightAdColumn,#rightColAd,#rightColumnMpuAd,#rightColumnSkyAd,#right_ad_wrapper { display: none !important } #right_advertisement,#right_advertising,#rightad,#rightadvertbar-doubleclickads,#rightbar-ad,#rightside_ad,#rotatingads,#rtMod_ad,#sAdsBox,#search-google-ads,#search_ads,#secondBoxAdContainer,#servfail-ads,#sew-ad1,#shoppingads,#show-ad,#side-ad,#side-ad-container,#sideAd,#sideBarAd { display: none !important } #side_ad_wrapper,#side_ads_by_google,#sidead,#sidebar-125x125-ads,#sidebar-125x125-ads-below-index,#sidebar-ad-boxes,#sidebar-ad-space,#sidebar-ad-wrap,#sidebar-ads,#sidebar_ad_widget,#sidebar_ads,#sidebar_sponsoredresult_body,#sidebarad,#sideline-ad,#site-leaderboard-ads,#site_top_ad,#sky-ad,#skyAd,#skyScrapperAd,#sky_ad { display: none !important } #skyscraperAd,#skyscraper_advert,#sliderAdHolder,#slideshow_ad_300x250,#sm-banner-ad,#small_ad,#smallerAd,#speeds_ads,#sphereAd,#splinks,#sponLinkDiv_1,#sponlink,#spons_left,#sponseredlinks,#sponsorAd1,#sponsorAd2,#sponsorLinks,#sponsor_banderole,#sponsor_box,#sponsor_panSponsor { display: none !important } #sponsored,#sponsored-ads,#sponsored-features,#sponsored-links,#sponsored-resources,#sponsored1,#sponsoredBox1,#sponsoredBox2,#sponsoredLinks,#sponsoredList,#sponsoredResults,#sponsoredSiteMainline,#sponsoredSiteSidebar,#sponsored_game_row_listing,#sponsored_links,#sponsoredlinks,#sponsoredlinks_cntr,#sponsoredresults_top,#sponsorlink,#spotlightAds { display: none !important } #spotlightad,#squareAd,#squareAdSpace,#square_ad,#sticky-ad,#stickyBottomAd,#story-ad-a,#story-ad-b,#story-sponsoredlinks,#storyAdWrap,#subpage-ad-right,#subpage-ad-top,#swads,#synch-ad,#tabAdvertising,#tblAd,#tbl_googlead,#template_ad_leaderboard,#tertiary_advertising,#textAd { display: none !important } #textAds,#text_ad,#text_advert,#the-last-ad-standing,#thefooterad,#themis-ads,#tile-ad,#tmglBannerAd,#top-ad,#top-ad-menu,#top-ads,#top-ads-tabs,#top-advertisement,#top-banner-ad,#top-search-ad-wrapper,#topAd,#topAd728x90,#topAdBanner,#topAdSenseDiv,#topAds { display: none !important } #topAdvert,#topBannerAd,#topNavLeaderboardAdHolder,#top_ad,#top_ad_area,#top_ad_game,#top_ad_wrapper,#top_ads,#top_advertise,#top_advertising,#topad,#topad_left,#topad_right,#topads,#topcustomad,#toprightAdvert,#towerad,#twogamesAd,#txt_link_ads,#undergameAd { display: none !important } #upperMpu,#upperad,#urban_contentad_article,#v_ad,#vert_ad,#vertical_ad,#vertical_ads,#video_cnv_ad,#video_overlay_ad,#walltopad,#welcomeAdsContainer,#welcome_ad_mrec,#wgtAd,#widget_advertisement,#wrapAdRight,#wrapAdTop,#yahoo-ads,#yahoo-sponsors,#yahoo_ads,#yahoo_ads_2010 { display: none !important } #yan-sponsored,#ybf-ads,#yfi_fp_ad_mort,#yfi_fp_ad_nns,#ygrp-sponsored-links,#ymap_adbanner,#yn-gmy-ad-lrec,#yreSponsoredLinks,#ysm_ad_iframe,#zoneAdserverMrec,#zoneAdserverSuper,.ADBAR,.Ad120x600,.Ad160x600,.Ad247x90,.Ad300x250,.Ad300x250L,.Ad728x90,.AdBox,.AdBox7 { display: none !important } .AdContainerBox308,.AdHere,.AdInfo,.AdPlaceHolder,.AdRingtone,.AdSense,.AdSpace,.AdTitle,.AdUnit,.AdUnit300,.Ad_C,.Ad_D_Wrapper,.Ad_E_Wrapper,.Ad_Right,.Ads,.AdsBoxSection,.AdvertMidPage,.AdvertiseWithUs,.AdvertisementTextTag,.ArticleInlineAd { display: none !important } .BannerAd,.BlockAd,.CG_adkit_leaderboard,.CommentAd,.DeptAd,.FT_Ad,.FlatAds,.HPNewAdsBannerDiv,.HomeContentAd,.LeftTowerAd,.M2Advertisement,.MD_adZone,.MPU,.MPUHolder,.PU_DoubleClickAdsContent,.Post5ad,.RelatedAds,.RightRailTop300x250Ad,.RightSponsoredAdTitle,.RightTowerAd { display: none !important } .SidebarAd,.SponsoredAdTitle,.SponsoredLinksGrayBox,.StandardAdLeft,.StandardAdRight,.TextAd,.TheEagleGoogleAdSense300x250,.TopAd,.TopAdL,.TopAdR,.UIStandardFrame_SidebarAds,.UIWashFrame_SidebarAds,.UnderAd,.VerticalAd,.WidgetAdvertiser,.ad-160x600,.ad-300,.ad-300-block,.ad-300-blog,.ad-300x100 { display: none !important } .ad-300x250,.ad-728,.ad-background,.ad-banner,.ad-bigsize,.ad-block,.ad-bottom,.ad-button,.ad-cell,.ad-container,.ad-div,.ad-filler,.ad-footer,.ad-footer-leaderboard,.ad-google,.ad-gray,.ad-hdr,.ad-holder,.ad-homeleaderboard,.ad-island { display: none !important } .ad-leaderboard,.ad-links,.ad-medium,.ad-medium-two,.ad-mpu,.ad-other,.ad-placeholder,.ad-poster,.ad-rect,.ad-rectangle,.ad-rectangle-text,.ad-related,.ad-rh,.ad-ri,.ad-right,.ad-right-txt,.ad-section,.ad-sidebar300,.ad-slot,.ad-space { display: none !important } .ad-space-mpu-box,.ad-spot,.ad-text,.ad-tile,.ad-top,.ad-top-left,.ad-unit,.ad-wrap,.ad-wrapper,.ad0,.ad1,.ad10,.ad120,.ad160,.ad18,.ad19,.ad2,.ad21,.ad250c,.ad3 { display: none !important } .ad300,.ad300_250,.ad300x250,.ad300x250Top,.ad300x250box,.ad300x600,.ad310,.ad336x280,.ad343x290,.ad450,.ad468,.ad468_60,.ad6,.ad620x70,.ad626X35,.ad7,.ad728,.ad728_90,.ad728x90,.ad8 { display: none !important } .adAgate,.adBanner,.adBannerTyp1,.adBannerTypSortableList,.adBannerTypW300,.adBgBottom,.adBgMId,.adBgTop,.adBox,.adBoxSingle,.adCMRight,.adColumn,.adContainer,.adCreative,.adElement,.adFrame,.adFtr,.adFullWidthMiddle,.adGoogle,.adHeader { display: none !important } .adHeadline,.adHolder,.adHome300x250,.adInNews,.adLabel,.adLeader,.adLeaderForum,.adLeaderboard,.adLeft,.adMkt2Colw,.adModule,.adNewsChannel,.adNoOutline,.adNoticeOut,.adObj,.adRect,.adRight,.adServer,.adSlot,.adSpBelow { display: none !important } .adSpace,.adSpacer,.adSpot,.adSpot-textBox,.adSpotIsland,.adSquare,.adSummary,.adSuperboard,.adTag,.adText,.adTileWrap,.adTiler,.adTitle,.adTout,.adTxt,.adWithTab,.adWrap,.adWrapper,.ad_1,.ad_125 { display: none !important } .ad_130x90,.ad_160,.ad_160x600,.ad_2,.ad_3,.ad_300,.ad_300_250,.ad_300x250,.ad_336,.ad_336x280,.ad_350x250,.ad_468,.ad_600,.ad_728,.ad_728x90,.ad_amazon,.ad_biz,.ad_block_338,.ad_bottom_leaderboard,.ad_box { display: none !important } .ad_box2,.ad_caption,.ad_contain,.ad_container,.ad_content,.ad_content_wide,.ad_descriptor,.ad_footer,.ad_framed,.ad_front_promo,.ad_header,.ad_hpm,.ad_launchpad,.ad_leader,.ad_leaderboard,.ad_left,.ad_loc,.ad_lrec,.ad_medrect,.ad_mpu { display: none !important } .ad_mrec,.ad_mrec_title_article,.ad_notice,.ad_p360,.ad_partner,.ad_partners,.ad_plus,.ad_post,.ad_power,.ad_rectangle,.ad_right,.ad_sidebar,.ad_skyscraper,.ad_slug_table,.ad_space,.ad_sponsor,.ad_sponsoredsection,.ad_spot_b,.ad_spot_c,.ad_square_r { display: none !important } .ad_square_top,.ad_text,.ad_top,.ad_top_leaderboard,.ad_tower,.ad_unit,.ad_wide,.ad_wrap,.ad_wrapper,.ad_wrapper_fixed,.ad_zone,.adarea,.adbanner,.adbannerright,.adbar,.adborder,.adbot,.adbottom,.adbox,.adbox-outer { display: none !important } .adbox_366x280,.adbox_468X60,.adbox_bottom,.adboxclass,.adcode,.adcolumn_wrapper,.adcontainer,.adcopy,.addiv,.adfoot,.adframe,.adhead,.adheader,.adheader100,.adhere,.adi,.adinfo,.adinside,.adjlink,.adkit-advert { display: none !important } .adkit-lb-footer,.adlabel-horz,.adlabel-vert,.adline,.adlink,.adlist,.adlnklst,.admarker,.admedrec,.admodule,.admpu,.adnotice,.adops,.adpadding,.adpic,.adright,.adrow,.adrow-post,.adrule,.ads-banner { display: none !important } .ads-categories-bsa,.ads-links-general,.ads-profile,.ads-right,.ads-sidebar,.ads-text,.ads2,.ads3,.ads:not(body),.adsArea,.adsBox,.adsImages,.adsTextHouse,.adsWithUs,.ads_300,.ads_728x90,.ads_big,.ads_big-half,.ads_container,.ads_disc_anchor { display: none !important } .ads_disc_leader,.ads_disc_lwr_square,.ads_disc_skyscraper,.ads_disc_square,.ads_div,.ads_header,.ads_mpu,.ads_right,.ads_sc_tl_i,.ads_side,.ads_takeover,.adsborder,.adscreen,.adsection_a2,.adsection_c2,.adsense,.adsense-heading,.adsense-title,.adsenseBlock,.adsenseContainer { display: none !important } .adsingle,.adslogan,.adspace,.adspace-MR,.adspacer,.adstrip,.adtag,.adtext,.adtop,.adtravel,.adv-mpu,.adverTag,.adver_cont_below,.advert,.advert-box,.advert-horizontal,.advert-mpu,.advert-skyscraper,.advert-text,.advertCont { display: none !important } .advertContainer,.advertHeadline,.advertRight,.advertText,.advert_468x60,.advert_box,.advert_cont,.advert_leaderboard,.advert_note,.advertise,.advertise-homestrip,.advertise-horz,.advertise-leaderboard,.advertise-vert,.advertiseContainer,.advertisement,.advertisement-728x90,.advertisement-block,.advertisement-top,.advertisement468 { display: none !important } .advertisementColumnGroup,.advertisementContainer,.advertisementLabel,.advertisementPanel,.advertisement_caption,.advertisement_header,.advertisement_horizontal,.advertiser,.advertising,.advertising-header,.advertisingTable,.advertisment,.advertisment_two,.advertize,.advertorial,.adverts,.advt,.advt-banner-3,.advt300,.advt720 { display: none !important } .adwrapper,.adwrapper-lrec,.affiliate,.affiliate-link,.affiliate-sidebar,.affiliateAdvertText,.agi-adsaleslinks,.alt_ad,.anchorAd,.aolSponsoredLinks,.aopsadvert,.article-ads,.articleAd,.articleAds,.articleAdsL,.articleEmbeddedAdBox,.article_ad,.article_adbox,.aseadn,.aux-ad-widget-2 { display: none !important } .b-astro-sponsored-links_horizontal,.b-astro-sponsored-links_vertical,.banner-ad,.banner-ads,.banner-adverts,.banner300x100,.banner300x250,.banner468,.bannerAd,.bannerAdWrapper300x250,.bannerAdWrapper730x86,.banner_300x250,.banner_728x90,.banner_ad,.banner_ad_footer,.banner_ad_leaderboard,.bannerad,.barkerAd,.bgnavad,.bigAd { display: none !important } .big_ads,.bigad,.billboard_ad,.block-ad,.block-adsense,.block_ad,.blocked-ads,.blog-ads-container,.blogAdvertisement,.blogBigAd,.blog_ad,.body_ad,.body_sponsoredresults_bottom,.body_sponsoredresults_middle,.body_sponsoredresults_top,.bookseller-header-advt,.bottomAd,.bottomAds,.bottom_ad_block,.bottom_sponsor { display: none !important } .bottomad,.bottomrightrailAd,.boxAd,.box_ad,.box_advertisment_62_border,.box_content_ad,.box_content_ads,.boxad,.bps-ad-wrapper,.bps-advertisement,.bps-advertisement-inline-ads,.bullet-sponsored-links,.bullet-sponsored-links-gray,.burstContentAdIndex,.buttonAd,.buttonadbox,.cA-adStrap,.cColumn-TextAdsBox,.cb_footer_sponsor,.cb_navigation_ad { display: none !important } .cbzadvert,.cdAdTitle,.cdmainlineSearchAdParent,.cdsidebarSearchAdParent,.centerAd,.center_ad,.centerad,.clearerad,.cm_ads,.cms-Advert,.cnn160AdFooter,.cnnAd,.cnnMosaic160Container,.cnnStoreAd,.cnnStoryElementBoxAd,.cnnWCAdBox,.cnnWireAdLtgBox,.cnn_728adbin,.cnn_adcntr300x100,.cnn_adspc336cntr { display: none !important } .cnn_adtitle,.column2-ad,.conductor_ad,.confirm_ad_left,.confirm_ad_right,.confirm_leader_ad,.consoleAd,.container_serendipity_plugin_google_adsense,.contentAd,.content_ad,.content_adsq,.contentad,.contenttextad,.cp_ad,.cpmstarHeadline,.cpmstarText,.ct_ad,.cubeAd,.cube_ads,.darla_ad { display: none !important } .dartAdImage,.dart_ad,.dart_tag,.dartadvert,.dartiframe,.dc-ad,.dcAdvertHeader,.deckAd,.deckads,.detailMpu,.divads,.dmco_advert_iabrighttitle,.download_ad,.downloadad,.dynamic_ad,.ec-ads,.entryad,.ez-clientAd,.f_Ads,.featuredAds { display: none !important } .featuredadvertising,.flagads,.flash_advert,.flashad,.flexiad,.flipbook_v2_sponsor_ad,.footerAd,.footerAdModule,.footerTextAd,.footer_ad,.footer_ads,.footer_block_ad,.footer_line_ad,.ft-ad,.ftdContentAd,.full_ad_box,.g3rtn-ad-site,.g_ggl_ad,.gads_cb,.gglAds { display: none !important } .google-ad-container,.google-ads,.google-ads-boxout,.google-right-ad,.google-sponsored-ads,.google468_60,.googleAd,.googleAd-content,.googleAd-list,.googleAdBox,.googleAdSense,.googleAd_body,.googleAds,.googleAdsense,.googleProfileAd,.google_ads_bom_title,.googlead,.googleads,.googleads_300x250,.googleads_title { display: none !important } .gpAds,.gradientAd,.gt_ad_300x250,.gt_ad_728x90,.gutter-ad-left,.gutter-ad-right,.h_Ads,.h_ad,.hd_advert,.header-ad,.header-advert,.headerAd,.headerAdvert,.header_ad,.header_ad_center,.header_advertisment,.hi5-ad,.highlightsAd,.hm_advertisment,.home-ad-links { display: none !important } .homeAd,.homeMediumAdGroup,.homepage-ad,.homepageFlexAdOuter,.homepageMPU,.hor_ad,.horizontalAd,.horizontal_ad,.hortad,.houseAdsStyle,.hp2-adtag,.hp_ad_cont,.hp_ad_text,.hp_t_ad,.hp_w_ad,.ic-ads,.ico-adv,.idMultiAd,.image-advertisement,.imageads { display: none !important } .in-page-ad,.in-story-text-ad,.indy_googleads,.inline-mpu-left,.inlineSideAd,.inline_ad_title,.inlinead,.inlist-ad,.inner-advt-banner-3,.innerAds,.innerad,.inpostad,.islandAd,.islandAdvert,.js-advert,.kw_advert,.kw_advert_pair,.l_ad_sub,.largeRectangleAd,.leader_ad { display: none !important } .leaderboardAd,.left-ad,.leftAd,.leftad,.leftnavad,.lgRecAd,.linead,.link_advertise,.live-search-list-ad-container,.log_ads,.lowerAds,.m_banner_ads,.macAd,.macad,.main-tabs-ad-block,.main_ad,.main_adbox,.map_media_banner_ad,.marginadsthin,.marketing-ad { display: none !important } .mdl-ad,.media-advert,.medium-rectangle-ad,.messageBoardAd,.micro_ad,.mid_ad,.midad,.min_navi_ad,.miniad,.mod-ad-lrec,.mod-ad-n,.mod-adopenx,.mod_admodule,.module-ad-small,.module-ads,.modulegad,.moduletable-advert,.moduletablesquaread,.mpu,.mpu-ad { display: none !important } .mpu-footer,.mpu-fp,.mpu-title,.mpu-top-left,.mpu-top-right,.mpuAd,.mpuBox,.mpuContainer,.mpuTextAd,.mpu_ad,.mpu_gold,.mpu_platinum,.mpuholderportalpage,.ms-ads-link,.msfg-shopping-mpu,.mwaads,.nSponsoredLcContent,.nSponsoredLcTopic,.nadvt300,.naviad { display: none !important } .nba300Ad,.nbaT3Ad160,.nbaTVPodAd,.nbaTwo130Ads,.nbc_ad_carousel_wrp,.newTopAdContainer,.newad,.nf-adbox,.nn-mpu,.normalAds,.nrAds,.oas-bottom-ads,.oio-banner-zone,.oio-link-sidebar,.oio-zone-position,.onethirdadholder,.openx,.openx-ad,.ov_spns,.pageLeaderAd { display: none !important } .pagead,.partnersTextLinks,.pencil_ad,.player_ad_box,.player_page_ad_box,.pnp_ad,.podSponsoredLink,.post-ad,.post_ad,.post_sponsor_unit,.postbit_adcode,.prebodyads,.premium_ad_container,.promoAd,.promoAds,.publication-ad,.publicidad,.puff-advertorials,.quigo-ad,.qzvAdDiv { display: none !important } .r_ad_box,.rad_container,.rectad,.rectangleAd,.rectanglead,.redads_cont,.regularad,.relatedAds,.remads,.result_ad,.results_sponsor,.results_sponsor_right,.rght300x250,.rhads,.rhs-ad,.rhs-ads-panel,.right-ad,.right-ad-holder,.right-ad2,.rightAd { display: none !important } .right_ad,.right_ad_text,.right_hand_advert_column,.rightad,.rightad_1,.rightad_2,.rightads,.rightadunit,.rightcol_boxad,.rightcoladvert,.rt_ad1_300x90,.rt_ad_300x250,.rt_ad_call,.savvyad_unit,.sb-ad-sq-bg,.sbAdUnitContainer,.sb_adsN,.sb_adsNv2,.sb_adsW,.sb_adsWv2 { display: none !important } .scanAd,.sci-ad-main,.sci-ad-sub,.search-sponsor,.search-sponsored,.searchAd,.searchSponsoredResultsBox,.search_column_results_sponsored,.search_results_sponsored_top,.section-sponsor,.section_mpu_wrapper,.selfServeAds,.sidbaread,.side-ad,.side-ads,.side_ad,.sidead,.sideadsbox,.sideadvert,.sidebar-ad { display: none !important } .sidebar-text-ad,.sidebarAd,.sidebarAdUnit,.sidebarAdvert,.sidebar_ad,.sidebar_box_ad,.sidebarad,.sidebarad_bottom,.sideheadnarrowad,.sideheadsponsorsad,.singleAd,.singleAdsContainer,.singlead,.sitesponsor,.skinAd,.skin_ad_638,.sky-ad,.skyAd,.skyAdd,.sky_ad { display: none !important } .skyscraper-ad,.smallSkyAd1,.smallSkyAd2,.small_ad,.small_ads,.smallad-left,.smallsponsorad,.specialAd175x90,.spl_ad,.spl_ad2,.spl_ad_plus,.splitAd,.spons-link,.sponslink,.sponsor-ad,.sponsor-links,.sponsorArea,.sponsorPost,.sponsorPostWrap,.sponsor_line { display: none !important } .sponsoradtitle,.sponsorbox,.sponsored,.sponsored-chunk,.sponsored-links,.sponsored-post,.sponsored-text,.sponsoredLinks,.sponsoredLinksHeader,.sponsored_ads,.sponsored_box,.sponsored_box_search,.sponsored_by,.sponsored_links,.sponsored_links_title_container,.sponsored_links_title_container_top,.sponsored_links_top,.sponsoredibbox,.sponsoredlinks,.sponsorlink { display: none !important } .squareAd,.square_ad,.squared_ad,.ss-ad-mpu,.staticAd,.store-ads,.story_AD,.subad,.subcontent-ad,.supercommentad_left,.supercommentad_right,.surveyad,.t10ad,.tab_ad,.tab_ad_area,.tablebordersponsor,.tadsanzeige,.tadsbanner,.tadselement,.tblTopAds { display: none !important } .tbl_ad,.teaserAdContainer,.teaser_adtiles,.text-ad-links,.text-g-advertisement,.text-g-group-short-rec-ad,.text-g-net-grp-google-ads-article-page,.textAd,.textAds,.text_ad,.text_ads,.textad,.textad_headline,.textads,.textlink-ads,.thisIsAd,.thisIsAnAd,.ticket-ad,.tileAds,.title-ad { display: none !important } .title_adbig,.toolad,.toolbar-ad,.top-ad,.top-ad-space,.top-ads,.top-menu-ads,.topAdWrap,.topAds,.topAdvertisement,.topBannerAd,.top_ad,.top_ad_disclaimer,.top_ad_wrapper,.top_ads,.top_advert,.top_sponsor,.topad,.topadbox,.topadspot { display: none !important } .topcontentadvertisement,.topic_inad,.topstoriesad,.towerAds,.tower_ad_disclaimer,.ts-ad_unit_bigbox,.ts-banner_ad,.ttlAdsensel,.twoColumnAd,.twoadcoll,.twoadcolr,.tx_smartadserver_pi1,.txt-ads,.txtadvertise,.type_promoads,.usenext,.vertad,.videoAd,.videoBoxAd,.view-promo-mpu-right { display: none !important } .wide-ad,.wide-skyscraper-ad,.wideAdTable,.wide_ads,.widget-entry-ads-160,.wikia_ad_placeholder,.withAds,.wnMultiAd,.x03-adunit,.x04-adunit,.y7-advertisement,.yahoo-sponsored,.yahoo_ads,.yan-sponsored,.ygrp-ad,.yrail_ad_wrap,.yrail_ads,.ysmsponsor,.ysponsor,a[href^="http://adserving.liveuniversenetwork.com/"] { display: none !important } a[href^="http://latestdownloads.net/download.php?"],a[href^="http://www.FriendlyDuck.com/AF_"],a[href^="http://www.adbrite.com/mb/commerce/purchase_form.php?"],a[href^="http://www.liutilities.com/aff"],a[href^="http://www.my-dirty-hobby.com/?sub="],a[href^="http://www.ringtonematcher.com/"],#mbEnd[cellspacing="0"][style="padding: 0pt; white-space: nowrap;"],#mbEnd[width="30%"][style],#mboxEnd[width="30%"][style],div#mclip_container:first-child:last-child,div#tads.c,div.ch[id^="tba"][style],div.ch[id^="tpa"][style],table.ra[align="left"][width="30%"],table.ra[align="right"][width="30%"],div[id^=google_ads_div],.OggiPlayerContainer { display: none !important } </STYLE></HTML>